package com.wst.wst_server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * �쵼��¼
 * </p>
 *
 * @author zyk
 * @since 2023-03-24
 */
@ApiModel(value = "Leader对象", description = "�쵼��¼")
public class Leader implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("领导id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer orgId;

    private String orgName;

    private String orgNo;

    private String orgCode;

    @ApiModelProperty("填表人")
    private String formFillingMan;

    @ApiModelProperty("填表人的联系电话")
    private String linkTel;

    @ApiModelProperty("领导的姓名")
    private String leaderName;

    @ApiModelProperty("性别")
    private String gender;

    @ApiModelProperty("民族")
    private String folk;

    @ApiModelProperty("出生年月日")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate birthDate;

    @ApiModelProperty("政治面貌")
    private String pol;

    @ApiModelProperty("学历")
    private String edu;

    private String degree;

    @ApiModelProperty("职务")
    private String manageJob;

    @ApiModelProperty("职称")
    private String title;

    @ApiModelProperty("备注")
    private String memo;

    @ApiModelProperty("任职日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate serDate;

    @ApiModelProperty("离任日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate leaveDate;

    @ApiModelProperty("填表年份")
    private String yearly;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }
    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }
    public String getOrgNo() {
        return orgNo;
    }

    public void setOrgNo(String orgNo) {
        this.orgNo = orgNo;
    }
    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }
    public String getFormFillingMan() {
        return formFillingMan;
    }

    public void setFormFillingMan(String formFillingMan) {
        this.formFillingMan = formFillingMan;
    }
    public String getLinkTel() {
        return linkTel;
    }

    public void setLinkTel(String linkTel) {
        this.linkTel = linkTel;
    }
    public String getLeaderName() {
        return leaderName;
    }

    public void setLeaderName(String leaderName) {
        this.leaderName = leaderName;
    }
    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }
    public String getFolk() {
        return folk;
    }

    public void setFolk(String folk) {
        this.folk = folk;
    }
    public LocalDate getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(LocalDate birthDate) {
        this.birthDate = birthDate;
    }
    public String getPol() {
        return pol;
    }

    public void setPol(String pol) {
        this.pol = pol;
    }
    public String getEdu() {
        return edu;
    }

    public void setEdu(String edu) {
        this.edu = edu;
    }
    public String getDegree() {
        return degree;
    }

    public void setDegree(String degree) {
        this.degree = degree;
    }
    public String getManageJob() {
        return manageJob;
    }

    public void setManageJob(String manageJob) {
        this.manageJob = manageJob;
    }
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }
    public LocalDate getSerDate() {
        return serDate;
    }

    public void setSerDate(LocalDate serDate) {
        this.serDate = serDate;
    }
    public LocalDate getLeaveDate() {
        return leaveDate;
    }

    public void setLeaveDate(LocalDate leaveDate) {
        this.leaveDate = leaveDate;
    }
    public String getYearly() {
        return yearly;
    }

    public void setYearly(String yearly) {
        this.yearly = yearly;
    }

    @Override
    public String toString() {
        return "Leader{" +
            "id=" + id +
            ", orgId=" + orgId +
            ", orgName=" + orgName +
            ", orgNo=" + orgNo +
            ", orgCode=" + orgCode +
            ", formFillingMan=" + formFillingMan +
            ", linkTel=" + linkTel +
            ", leaderName=" + leaderName +
            ", gender=" + gender +
            ", folk=" + folk +
            ", birthDate=" + birthDate +
            ", pol=" + pol +
            ", edu=" + edu +
            ", degree=" + degree +
            ", manageJob=" + manageJob +
            ", title=" + title +
            ", memo=" + memo +
            ", serDate=" + serDate +
            ", leaveDate=" + leaveDate +
            ", yearly=" + yearly +
        "}";
    }
}
